package com.hongye.proprietary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hongye.common.entity.SaleHomeEntity;
import com.hongye.common.utils.PageUtils;
import com.hongye.common.utils.R;
import com.hongye.proprietary.controller.vo.LoginVo;
import com.hongye.proprietary.entity.AgentUserEntity;
import com.hongye.proprietary.vo.AgentCompanyVo;
import com.hongye.proprietary.vo.LeaderboardVo;

import java.util.List;
import java.util.Map;

/**
 * 经纪人表
 *
 * @author lins
 * @email 695565697@qq.com
 * @date 2021-10-14 11:16:47
 */
public interface AgentUserService extends IService<AgentUserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<LeaderboardVo> leaderboardlist();

    AgentUserEntity saledetails(Integer houseagent);

    AgentUserEntity rentingdetails(Integer houseagent);


    R sendMsg(String phone);

    R login(LoginVo loginVo);


    List<AgentCompanyVo> HomeCompany();

    void updateAgentStatus(Integer aid, Integer status);
}

